﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TestModel.SysManage;

namespace TestDBData.Mapping.SysManage
{
    public partial class sys_LogMap : NopEntityTypeConfiguration<sys_Log>
    {
        public override void Configure(EntityTypeBuilder<sys_Log> builder)
        {
            builder.ToTable(nameof(sys_Log));
            builder.HasKey(it => it.gid);
            

            // builder.Ignore(logItem => logItem.LogLevel);

            base.Configure(builder);
        }
    }
}
